package cn.tedu.icop.user;

import cn.tedu.icop.common.annotation.IcopSpringBootApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@EnableFeignClients(basePackages = "cn.tedu")
@IcopSpringBootApplication
public class ChargingUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChargingUserApplication.class,args);
    }
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}